//
//  MyInforTVCell.m
//  Logistics
//
//  Created by enzhoukeji on 2018/8/9.
//  Copyright © 2018年 puyue.com. All rights reserved.
//

#import "MyInforTVCell.h"

@implementation MyInforTVCell
-(void)loadViews {
    self.telImage = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"touxiangMN"]];
    self.headLabel = [UILabel labelWithSize:[UIFont systemFontOfSize:12] withColor:[UIColor grayColor] withText:@"头像"];
    [self addSubview:self.telImage];
    [self addSubview:self.headLabel];
    
}
-(void)layoutViews {
    [self.headLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(GTFixWidthFlaot(15));
        make.top.mas_equalTo(0);
        make.bottom.mas_equalTo(0);
        make.width.mas_equalTo(self.headLabel.mas_width);
    }];
    [self.telImage mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.mas_equalTo(GTFixWidthFlaot(-15));
        make.top.mas_equalTo(GTFixHeightFlaot(5));
        make.bottom.mas_equalTo(GTFixHeightFlaot(-5));
        make.width.mas_equalTo(GTFixWidthFlaot(50));
    }];
}
@end

@implementation MyInforTVCellSecond
-(void)loadViews {
    self.headLabel = [UILabel labelWithSize:[UIFont systemFontOfSize:12] withColor:[UIColor grayColor] withText:@"实名认证"];
    self.nameLabel = [UILabel labelWithSize:[UIFont systemFontOfSize:12] withColor:[UIColor grayColor] withText:@"马可波罗"];
    [self addSubview:self.headLabel];
    [self addSubview:self.nameLabel];

    
}
-(void)layoutViews {
    [self.headLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(GTFixWidthFlaot(15));
        make.top.mas_equalTo(0);
        make.bottom.mas_equalTo(0);
        make.width.mas_equalTo(self.headLabel.mas_width);
    }];
    [self.nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.mas_equalTo(GTFixWidthFlaot(-15));
        make.top.mas_equalTo(0);
        make.bottom.mas_equalTo(0);
        make.width.mas_equalTo(self.nameLabel.mas_width);
    }];
    
}
@end






